PageSourceSearch

https://www.aaggllc.com/Kentico/Content/Selectors/FormComponents/MediaFiles/media-files-selector.admin.js

js aaggllc.com collected 2026-10-09 04:42:42 UTC 795 bytes, 22 lines download raw bytes

1window.kentico = window.kentico || {};
2
3/**
4 * Media file selector module.
5 * @param {object} namespace Namespace under which this module operates.
6 */
7(function (namespace) {
8    // Register the initialization function only in page builder
9    if (!namespace.pageBuilder) {
10        return;
11    }
12
13    var init = function (id, filesData) {
14        var component = document.getElementById(id);
15        component.getString = window.kentico.localization.getString;
16        component.selectedData = filesData;
17    };
18
19    const modalDialogInternal = namespace._modalDialog = namespace._modalDialog || {};
20    const mediaFilesSelector = modalDialogInternal.mediaFilesSelector = modalDialogInternal.mediaFilesSelector || {};
21    mediaFilesSelector.init = init;
22})(window.kentico);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.