1(function ($) { 2 window.booklyStaffSpecialDays = function (Options) { 3 let $container = $('.' + Options.form_id); 4 if (!$container.length) { 5 return; 6 } 7 let options = { 8 container: '.bookly-js-staff-cabinet-special-days-wrap', 9 staff_id: Options.staff_id, 10 location_id: null, 11 saving: function (alerts) { 12 $.each(alerts, function (type, messages) { 13 if (messages.length > 0) { 14 window.booklyNativeAlert(messages.join('\n')); 15 } 16 }); 17 }, 18 booklyAlert: function (alerts) { 19 options.saving(alerts); 20 }, 21 onLoad: function () {}, 22 l10n: BooklySCSpecialDaysL10n 23 }; 24 // Init Staff Special Days. 25 new BooklyStaffSpecialDays($container, options); 26 }; 27})(jQuery);
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.