Source: widget/whatsnew/catalogues/WNTours.js

(function() {
    /**
     * this backend connector is able to handle tours for WN mode
     * @augments Help4.widget.help.catalogues._Special
     */
    Help4.widget.help.catalogues.WNTours = class extends Help4.widget.help.catalogues._Special {
        static ID = 'CMP_WNTours';
        static CATALOGUE_TYPE = 'WNTours';

        /**
         * @override
         * @param {Help4.typedef.SystemConfiguration} config - the system configuration
         * @returns {Help4.widget.help.catalogues.SEN.CatalogueProjects|null}
         */
        static load(config) {
            const {WHATSNEW_SCREEN_ID} = Help4.widget.help.CatalogueBackend;

            const result = super.load(config);
            const {pub: [pub], head: [head]} = result;
            pub._whatsnew = true;
            pub.appUrl += WHATSNEW_SCREEN_ID;
            head._whatsnew = true;
            head.appUrl += WHATSNEW_SCREEN_ID;

            return result;
        }
    }
})();