', {
233 | class: 'sidebar-brand'
234 | }).append(
235 | $('
', {
236 | href: $('.navbar-brand').attr('href'),
237 | }).html($('.navbar-brand').html())
238 | ));
239 | setTimeout(function() {
240 | sidebar_nicescroll = main_sidebar.niceScroll(sidebar_nicescroll_opts);
241 | sidebar_nicescroll = main_sidebar.getNiceScroll();
242 | }, 700);
243 |
244 | sidebar_dropdown();
245 | $(".main-wrapper").removeClass("container");
246 | }
247 | } else {
248 | $("body").removeClass("sidebar-gone sidebar-show");
249 | if (now_layout_class)
250 | $("body").addClass(now_layout_class);
251 |
252 | let nav_second_classes = $(".main-sidebar").attr('data-nav-classes'),
253 | nav_second = $(".main-sidebar");
254 |
255 | if (now_layout_class == 'layout-3' && nav_second.hasClass('main-sidebar')) {
256 | nav_second.find(".sidebar-menu li a.has-dropdown").off('click');
257 | nav_second.find('.sidebar-brand').remove();
258 | nav_second.removeAttr('class');
259 | nav_second.addClass(nav_second_classes);
260 |
261 | let main_sidebar = $(".navbar-secondary");
262 | main_sidebar.find('.sidebar-wrapper').addClass('container').removeClass('sidebar-wrapper');
263 | main_sidebar.find('.sidebar-menu').addClass('navbar-nav').removeClass('sidebar-menu');
264 | main_sidebar.find('.dropdown-menu').hide();
265 | main_sidebar.removeAttr('style');
266 | main_sidebar.removeAttr('tabindex');
267 | main_sidebar.removeAttr('data-nav-classes');
268 | $(".main-wrapper").addClass("container");
269 | // if(sidebar_nicescroll != null)
270 | // sidebar_nicescroll.remove();
271 | } else if (now_layout_class == 'layout-2') {
272 | $("body").addClass("layout-2");
273 | } else {
274 | update_sidebar_nicescroll();
275 | }
276 | }
277 | }
278 | toggleLayout();
279 | $(window).resize(toggleLayout);
280 |
281 | $("[data-toggle='search']").click(function() {
282 | var body = $("body");
283 |
284 | if (body.hasClass('search-gone')) {
285 | body.addClass('search-gone');
286 | body.removeClass('search-show');
287 | } else {
288 | body.removeClass('search-gone');
289 | body.addClass('search-show');
290 | }
291 | });
292 |
293 | // tooltip
294 | $("[data-toggle='tooltip']").tooltip();
295 |
296 | // popover
297 | $('[data-toggle="popover"]').popover({
298 | container: 'body'
299 | });
300 |
301 | // Select2
302 | if (jQuery().select2) {
303 | $(".select2").select2();
304 | }
305 |
306 | // Selectric
307 | if (jQuery().selectric) {
308 | $(".selectric").selectric({
309 | disableOnMobile: false,
310 | nativeOnMobile: false
311 | });
312 | }
313 |
314 | $(".notification-toggle").dropdown();
315 | $(".notification-toggle").parent().on('shown.bs.dropdown', function() {
316 | $(".dropdown-list-icons").niceScroll({
317 | cursoropacitymin: .3,
318 | cursoropacitymax: .8,
319 | cursorwidth: 7
320 | });
321 | });
322 |
323 | $(".message-toggle").dropdown();
324 | $(".message-toggle").parent().on('shown.bs.dropdown', function() {
325 | $(".dropdown-list-message").niceScroll({
326 | cursoropacitymin: .3,
327 | cursoropacitymax: .8,
328 | cursorwidth: 7
329 | });
330 | });
331 |
332 | if ($(".chat-content").length) {
333 | $(".chat-content").niceScroll({
334 | cursoropacitymin: .3,
335 | cursoropacitymax: .8,
336 | });
337 | $('.chat-content').getNiceScroll(0).doScrollTop($('.chat-content').height());
338 | }
339 |
340 | if (jQuery().summernote) {
341 | $(".summernote").summernote({
342 | dialogsInBody: true,
343 | minHeight: 250,
344 | });
345 | $(".summernote-simple").summernote({
346 | dialogsInBody: true,
347 | minHeight: 150,
348 | toolbar: [
349 | ['style', ['bold', 'italic', 'underline', 'clear']],
350 | ['font', ['strikethrough']],
351 | ['para', ['paragraph']]
352 | ]
353 | });
354 | }
355 |
356 | if (window.CodeMirror) {
357 | $(".codeeditor").each(function() {
358 | let editor = CodeMirror.fromTextArea(this, {
359 | lineNumbers: true,
360 | theme: "duotone-dark",
361 | mode: 'javascript',
362 | height: 200
363 | });
364 | editor.setSize("100%", 200);
365 | });
366 | }
367 |
368 | // Follow function
369 | $('.follow-btn, .following-btn').each(function() {
370 | var me = $(this),
371 | follow_text = 'Follow',
372 | unfollow_text = 'Following';
373 |
374 | me.click(function() {
375 | if (me.hasClass('following-btn')) {
376 | me.removeClass('btn-danger');
377 | me.removeClass('following-btn');
378 | me.addClass('btn-primary');
379 | me.html(follow_text);
380 |
381 | eval(me.data('unfollow-action'));
382 | } else {
383 | me.removeClass('btn-primary');
384 | me.addClass('btn-danger');
385 | me.addClass('following-btn');
386 | me.html(unfollow_text);
387 |
388 | eval(me.data('follow-action'));
389 | }
390 | return false;
391 | });
392 | });
393 |
394 | // Dismiss function
395 | $("[data-dismiss]").each(function() {
396 | var me = $(this),
397 | target = me.data('dismiss');
398 |
399 | me.click(function() {
400 | $(target).fadeOut(function() {
401 | $(target).remove();
402 | });
403 | return false;
404 | });
405 | });
406 |
407 | // Collapsable
408 | $("[data-collapse]").each(function() {
409 | var me = $(this),
410 | target = me.data('collapse');
411 |
412 | me.click(function() {
413 | $(target).collapse('toggle');
414 | $(target).on('shown.bs.collapse', function() {
415 | me.html('');
416 | });
417 | $(target).on('hidden.bs.collapse', function() {
418 | me.html('');
419 | });
420 | return false;
421 | });
422 | });
423 |
424 | // Gallery
425 | $(".gallery .gallery-item").each(function() {
426 | var me = $(this);
427 |
428 | me.attr('href', me.data('image'));
429 | me.attr('title', me.data('title'));
430 | if (me.parent().hasClass('gallery-fw')) {
431 | me.css({
432 | height: me.parent().data('item-height'),
433 | });
434 | me.find('div').css({
435 | lineHeight: me.parent().data('item-height') + 'px'
436 | });
437 | }
438 | me.css({
439 | backgroundImage: 'url("' + me.data('image') + '")'
440 | });
441 | });
442 | if (jQuery().Chocolat) {
443 | $(".gallery").Chocolat({
444 | className: 'gallery',
445 | imageSelector: '.gallery-item',
446 | });
447 | }
448 |
449 | // Background
450 | $("[data-background]").each(function() {
451 | var me = $(this);
452 | me.css({
453 | backgroundImage: 'url(' + me.data('background') + ')'
454 | });
455 | });
456 |
457 | // Custom Tab
458 | $("[data-tab]").each(function() {
459 | var me = $(this);
460 |
461 | me.click(function() {
462 | if (!me.hasClass('active')) {
463 | var tab_group = $('[data-tab-group="' + me.data('tab') + '"]'),
464 | tab_group_active = $('[data-tab-group="' + me.data('tab') + '"].active'),
465 | target = $(me.attr('href')),
466 | links = $('[data-tab="' + me.data('tab') + '"]');
467 |
468 | links.removeClass('active');
469 | me.addClass('active');
470 | target.addClass('active');
471 | tab_group_active.removeClass('active');
472 | }
473 | return false;
474 | });
475 | });
476 |
477 | // Bootstrap 4 Validation
478 | $(".needs-validation").submit(function() {
479 | var form = $(this);
480 | if (form[0].checkValidity() === false) {
481 | event.preventDefault();
482 | event.stopPropagation();
483 | }
484 | form.addClass('was-validated');
485 | });
486 |
487 | // alert dismissible
488 | $(".alert-dismissible").each(function() {
489 | var me = $(this);
490 |
491 | me.find('.close').click(function() {
492 | me.alert('close');
493 | });
494 | });
495 |
496 | if ($('.main-navbar').length) {
497 | }
498 |
499 | // Image cropper
500 | $('[data-crop-image]').each(function(e) {
501 | $(this).css({
502 | overflow: 'hidden',
503 | position: 'relative',
504 | height: $(this).data('crop-image')
505 | });
506 | });
507 |
508 | // Slide Toggle
509 | $('[data-toggle-slide]').click(function() {
510 | let target = $(this).data('toggle-slide');
511 |
512 | $(target).slideToggle();
513 | return false;
514 | });
515 |
516 | // Dismiss modal
517 | $("[data-dismiss=modal]").click(function() {
518 | $(this).closest('.modal').modal('hide');
519 |
520 | return false;
521 | });
522 |
523 | // Width attribute
524 | $('[data-width]').each(function() {
525 | $(this).css({
526 | width: $(this).data('width')
527 | });
528 | });
529 |
530 | // Height attribute
531 | $('[data-height]').each(function() {
532 | $(this).css({
533 | height: $(this).data('height')
534 | });
535 | });
536 |
537 | // Chocolat
538 | if ($('.chocolat-parent').length && jQuery().Chocolat) {
539 | $('.chocolat-parent').Chocolat();
540 | }
541 |
542 | // Sortable card
543 | if ($('.sortable-card').length && jQuery().sortable) {
544 | $('.sortable-card').sortable({
545 | handle: '.card-header',
546 | opacity: .8,
547 | tolerance: 'pointer'
548 | });
549 | }
550 |
551 | // Daterangepicker
552 | if (jQuery().daterangepicker) {
553 | if ($(".datepicker").length) {
554 | $('.datepicker').daterangepicker({
555 | locale: { format: 'YYYY-MM-DD' },
556 | singleDatePicker: true,
557 | });
558 | }
559 | if ($(".datetimepicker").length) {
560 | $('.datetimepicker').daterangepicker({
561 | locale: { format: 'YYYY-MM-DD hh:mm' },
562 | singleDatePicker: true,
563 | timePicker: true,
564 | timePicker24Hour: true,
565 | });
566 | }
567 | if ($(".daterange").length) {
568 | $('.daterange').daterangepicker({
569 | locale: { format: 'YYYY-MM-DD' },
570 | drops: 'down',
571 | opens: 'right'
572 | });
573 | }
574 | }
575 |
576 | // Timepicker
577 | if (jQuery().timepicker && $(".timepicker").length) {
578 | $(".timepicker").timepicker({
579 | icons: {
580 | up: 'fas fa-chevron-up',
581 | down: 'fas fa-chevron-down'
582 | }
583 | });
584 | }
585 | });
--------------------------------------------------------------------------------
/flask_redisboard/src/js/stisla.js:
--------------------------------------------------------------------------------
1 | "use strict";
2 | import $ from 'jquery';
3 |
4 | window.$ = $;
5 |
6 | (function($, window, i) {
7 | // Bootstrap 4 Modal
8 | $.fn.fireModal = function(options) {
9 | var options = $.extend({
10 | size: 'modal-md',
11 | center: false,
12 | animation: true,
13 | title: 'Modal Title',
14 | closeButton: true,
15 | header: true,
16 | bodyClass: '',
17 | footerClass: '',
18 | body: '',
19 | buttons: [],
20 | autoFocus: true,
21 | created: function() { },
22 | appended: function() { },
23 | onFormSubmit: function() { },
24 | modal: {}
25 | }, options);
26 |
27 | this.each(function() {
28 | i++;
29 | var id = 'fire-modal-' + i,
30 | trigger_class = 'trigger--' + id,
31 | trigger_button = $('.' + trigger_class);
32 |
33 | $(this).addClass(trigger_class);
34 |
35 | // Get modal body
36 | let body = options.body;
37 |
38 | if (typeof body == 'object') {
39 | if (body.length) {
40 | let part = body;
41 | body = body.removeAttr('id').clone().removeClass('modal-part');
42 | part.remove();
43 | } else {
44 | body = 'Modal part element not found!
';
45 | }
46 | }
47 |
48 | // Modal base template
49 | var modal_template = ' ' +
50 | '
' +
51 | '
' +
52 | ((options.header == true) ?
53 | ' '
61 | : '') +
62 | '
' +
63 | '
' +
64 | (options.buttons.length > 0 ?
65 | ' '
67 | : '') +
68 | '
' +
69 | '
' +
70 | '
';
71 |
72 | // Convert modal to object
73 | var modal_template = $(modal_template);
74 |
75 | // Start creating buttons from 'buttons' option
76 | var this_button;
77 | options.buttons.forEach(function(item) {
78 | // get option 'id'
79 | let id = "id" in item ? item.id : '';
80 |
81 | // Button template
82 | this_button = '';
83 |
84 | // add click event to the button
85 | this_button = $(this_button).off('click').on("click", function() {
86 | // execute function from 'handler' option
87 | item.handler.call(this, modal_template);
88 | });
89 | // append generated buttons to the modal footer
90 | $(modal_template).find('.modal-footer').append(this_button);
91 | });
92 |
93 | // append a given body to the modal
94 | $(modal_template).find('.modal-body').append(body);
95 |
96 | // add additional body class
97 | if (options.bodyClass) $(modal_template).find('.modal-body').addClass(options.bodyClass);
98 |
99 | // add footer body class
100 | if (options.footerClass) $(modal_template).find('.modal-footer').addClass(options.footerClass);
101 |
102 | // execute 'created' callback
103 | options.created.call(this, modal_template, options);
104 |
105 | // modal form and submit form button
106 | let modal_form = $(modal_template).find('.modal-body form'),
107 | form_submit_btn = modal_template.find('button[type=submit]');
108 |
109 | // append generated modal to the body
110 | $("body").append(modal_template);
111 |
112 | // execute 'appended' callback
113 | options.appended.call(this, $('#' + id), modal_form, options);
114 |
115 | // if modal contains form elements
116 | if (modal_form.length) {
117 | // if `autoFocus` option is true
118 | if (options.autoFocus) {
119 | // when modal is shown
120 | $(modal_template).on('shown.bs.modal', function() {
121 | // if type of `autoFocus` option is `boolean`
122 | if (typeof options.autoFocus == 'boolean')
123 | modal_form.find('input:eq(0)').focus(); // the first input element will be focused
124 | // if type of `autoFocus` option is `string` and `autoFocus` option is an HTML element
125 | else if (typeof options.autoFocus == 'string' && modal_form.find(options.autoFocus).length)
126 | modal_form.find(options.autoFocus).focus(); // find elements and focus on that
127 | });
128 | }
129 |
130 | // form object
131 | let form_object = {
132 | startProgress: function() {
133 | modal_template.addClass('modal-progress');
134 | },
135 | stopProgress: function() {
136 | modal_template.removeClass('modal-progress');
137 | }
138 | };
139 |
140 | // if form is not contains button element
141 | if (!modal_form.find('button').length) $(modal_form).append('');
142 |
143 | // add click event
144 | form_submit_btn.click(function() {
145 | modal_form.submit();
146 | });
147 |
148 | // add submit event
149 | modal_form.submit(function(e) {
150 | // start form progress
151 | form_object.startProgress();
152 |
153 | // execute `onFormSubmit` callback
154 | options.onFormSubmit.call(this, modal_template, e, form_object);
155 | });
156 | }
157 |
158 | $(document).on("click", '.' + trigger_class, function() {
159 | $('#' + id).modal(options.modal);
160 |
161 | return false;
162 | });
163 | });
164 | }
165 |
166 | // Bootstrap Modal Destroyer
167 | $.destroyModal = function(modal) {
168 | modal.modal('hide');
169 | modal.on('hidden.bs.modal', function() {
170 | });
171 | }
172 |
173 | // Card Progress Controller
174 | $.cardProgress = function(card, options) {
175 | var options = $.extend({
176 | dismiss: false,
177 | dismissText: 'Cancel',
178 | spinner: true,
179 | onDismiss: function() { }
180 | }, options);
181 |
182 | var me = $(card);
183 |
184 | me.addClass('card-progress');
185 | if (options.spinner == false) {
186 | me.addClass('remove-spinner');
187 | }
188 |
189 | if (options.dismiss == true) {
190 | var btn_dismiss = '' + options.dismissText + '';
191 | btn_dismiss = $(btn_dismiss).off('click').on('click', function() {
192 | me.removeClass('card-progress');
193 | me.find('.card-progress-dismiss').remove();
194 | options.onDismiss.call(this, me);
195 | });
196 | me.append(btn_dismiss);
197 | }
198 |
199 | return {
200 | dismiss: function(dismissed) {
201 | $.cardProgressDismiss(me, dismissed);
202 | }
203 | };
204 | }
205 |
206 | $.cardProgressDismiss = function(card, dismissed) {
207 | var me = $(card);
208 | me.removeClass('card-progress');
209 | me.find('.card-progress-dismiss').remove();
210 | if (dismissed)
211 | dismissed.call(this, me);
212 | }
213 |
214 | $.chatCtrl = function(element, chat) {
215 | var chat = $.extend({
216 | position: 'chat-right',
217 | text: '',
218 | time: moment(new Date().toISOString()).format('hh:mm'),
219 | picture: '',
220 | type: 'text', // or typing
221 | timeout: 0,
222 | onShow: function() { }
223 | }, chat);
224 |
225 | var target = $(element),
226 | element = '
' +
227 | '

' +
228 | '
' +
229 | '
' + chat.text + '
' +
230 | '
' + chat.time + '
' +
231 | '
' +
232 | '
',
233 | typing_element = '
' +
234 | '

' +
235 | '
' +
238 | '
';
239 |
240 | var append_element = element;
241 | if (chat.type == 'typing') {
242 | append_element = typing_element;
243 | }
244 |
245 | if (chat.timeout > 0) {
246 | setTimeout(function() {
247 | target.find('.chat-content').append($(append_element).fadeIn());
248 | }, chat.timeout);
249 | } else {
250 | target.find('.chat-content').append($(append_element).fadeIn());
251 | }
252 |
253 | var target_height = 0;
254 | target.find('.chat-content .chat-item').each(function() {
255 | target_height += $(this).outerHeight();
256 | });
257 | setTimeout(function() {
258 | target.find('.chat-content').scrollTop(target_height, -1);
259 | }, 100);
260 | chat.onShow.call(this, append_element);
261 | }
262 | })(jQuery, this, 0);
263 |
264 |
--------------------------------------------------------------------------------
/flask_redisboard/static/dist/03783c5172ee1ad128c576bf88fac168.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjlarry/flask-redisboard/369dd37ed1735f08aa2ea7aee28c65aef965e6d4/flask_redisboard/static/dist/03783c5172ee1ad128c576bf88fac168.eot
--------------------------------------------------------------------------------
/flask_redisboard/static/dist/acf50f59802f20d8b45220eaae532a1c.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hjlarry/flask-redisboard/369dd37ed1735f08aa2ea7aee28c65aef965e6d4/flask_redisboard/static/dist/acf50f59802f20d8b45220eaae532a1c.ttf
--------------------------------------------------------------------------------
/flask_redisboard/static/dist/css/font.js:
--------------------------------------------------------------------------------
1 | !function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=142)}({142:function(t,e,n){"use strict";n.r(e);n(143)},143:function(t,e,n){var r=n(144);"string"==typeof r&&(r=[[t.i,r,""]]);var o={hmr:!0,transform:void 0,insertInto:void 0};n(5)(r,o);r.locals&&(t.exports=r.locals)},144:function(t,e,n){},5:function(t,e,n){var r,o,i={},s=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),a=function(t){var e={};return function(t,n){if("function"==typeof t)return t();if(void 0===e[t]){var r=function(t,e){return e?e.querySelector(t):document.querySelector(t)}.call(this,t,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(t){r=null}e[t]=r}return e[t]}}(),f=null,u=0,c=[],l=n(6);function p(t,e){for(var n=0;n
=0&&c.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),v(t,e),e}function y(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function m(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=u++;n=f||(f=b(e)),r=x.bind(null,n,s,!1),o=x.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),v(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=l(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,e),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){h(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;o=0&&u.splice(e,1)}function m(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),v(t,e),e}function y(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function b(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=c++;n=f||(f=m(e)),r=w.bind(null,n,s,!1),o=w.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),v(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=l(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,e),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=m(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){h(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;o=0&&u.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return m(e,t.attrs),v(t,e),e}function m(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function y(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=c++;n=f||(f=b(e)),r=x.bind(null,n,s,!1),o=x.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",m(e,t.attrs),v(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=l(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,e),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){h(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;o=0&&c.splice(e,1)}function b(t){var e=document.createElement("style");if(void 0===t.attrs.type&&(t.attrs.type="text/css"),void 0===t.attrs.nonce){var r=function(){0;return n.nc}();r&&(t.attrs.nonce=r)}return y(e,t.attrs),v(t,e),e}function y(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function m(t,e){var n,r,o,i;if(e.transform&&t.css){if(!(i="function"==typeof e.transform?e.transform(t.css):e.transform.default(t.css)))return function(){};t.css=i}if(e.singleton){var s=u++;n=f||(f=b(e)),r=x.bind(null,n,s,!1),o=x.bind(null,n,s,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(t){var e=document.createElement("link");return void 0===t.attrs.type&&(t.attrs.type="text/css"),t.attrs.rel="stylesheet",y(e,t.attrs),v(t,e),e}(e),r=function(t,e,n){var r=n.css,o=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&o;(e.convertToAbsoluteUrls||i)&&(r=l(r));o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var s=new Blob([r],{type:"text/css"}),a=t.href;t.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}.bind(null,n,e),o=function(){h(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(e),r=function(t,e){var n=e.css,r=e.media;r&&t.setAttribute("media",r);if(t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}.bind(null,n),o=function(){h(n)});return r(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;r(t=e)}else o()}}t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(e=e||{}).attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=s()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=d(t,e);return p(n,e),function(t){for(var r=[],o=0;oi;i++)e.call(o,t[i],i,t)},m=function(t,e){var o={};return p(t,function(e,n){o[n]=t[n]}),p(e,function(t,n){o[n]=e[n]}),o},v=function(t){var e=document.createDocumentFragment(),o=document.createElement("div");for(o.innerHTML=t;o.firstChild;)e.appendChild(o.firstChild);return e},g={move:function(t,e,n,a){var r,l=180;0!==a&&(t.classList.add(o+"-dragged"),t.style.transform="translateX("+a+"px)",a>0?.3>(r=(l-a)/l)&&e.hide(m(n,{transitionOut:"fadeOutRight",transitionOutMobile:"fadeOutRight"}),t,"drag"):.3>(r=(l+a)/l)&&e.hide(m(n,{transitionOut:"fadeOutLeft",transitionOutMobile:"fadeOutLeft"}),t,"drag"),t.style.opacity=r,.3>r&&((i||s)&&(t.style.left=a+"px"),t.parentNode.style.opacity=.3,this.stopMoving(t,null)))},startMoving:function(t,e,o,n){n=n||window.event;var i=a?n.touches[0].clientX:n.clientX,s=t.style.transform.replace("px)","");s=s.replace("translateX(","");var r=i-s;o.transitionIn&&t.classList.remove(o.transitionIn),o.transitionInMobile&&t.classList.remove(o.transitionInMobile),t.style.transition="",a?document.ontouchmove=function(n){n.preventDefault();var i=(n=n||window.event).touches[0].clientX,s=i-r;g.move(t,e,o,s)}:document.onmousemove=function(n){n.preventDefault();var i=(n=n||window.event).clientX,s=i-r;g.move(t,e,o,s)}},stopMoving:function(t,e){a?document.ontouchmove=function(){}:document.onmousemove=function(){},t.style.opacity="",t.style.transform="",t.classList.contains(o+"-dragged")&&(t.classList.remove(o+"-dragged"),t.style.transition="transform 0.4s ease, opacity 0.4s ease",setTimeout(function(){t.style.transition=""},400))}};return e.setSetting=function(t,o,n){e.children[t][o]=n},e.getSetting=function(t,o){return e.children[t][o]},e.destroy=function(){p(document.querySelectorAll("."+o+"-overlay"),function(t,e){t.remove()}),p(document.querySelectorAll("."+o+"-wrapper"),function(t,e){t.remove()}),p(document.querySelectorAll("."+o),function(t,e){t.remove()}),this.children={},document.removeEventListener(o+"-opened",{},!1),document.removeEventListener(o+"-opening",{},!1),document.removeEventListener(o+"-closing",{},!1),document.removeEventListener(o+"-closed",{},!1),document.removeEventListener("keyup",{},!1),d={}},e.settings=function(t){e.destroy(),d=t,c=m(c,t||{})},p({info:{color:"blue",icon:"ico-info"},success:{color:"green",icon:"ico-success"},warning:{color:"orange",icon:"ico-warning"},error:{color:"red",icon:"ico-error"},question:{color:"yellow",icon:"ico-question"}},function(t,o){e[o]=function(e){var o=m(d,e||{});o=m(t,o||{}),this.show(o)}}),e.progress=function(t,e,n){var i=this,s=e.getAttribute("data-iziToast-ref"),a=m(this.children[s],t||{}),r=e.querySelector("."+o+"-progressbar div");return{start:function(){void 0===a.time.REMAINING&&(e.classList.remove(o+"-reseted"),null!==r&&(r.style.transition="width "+a.timeout+"ms "+a.progressBarEasing,r.style.width="0%"),a.time.START=(new Date).getTime(),a.time.END=a.time.START+a.timeout,a.time.TIMER=setTimeout(function(){clearTimeout(a.time.TIMER),e.classList.contains(o+"-closing")||(i.hide(a,e,"timeout"),"function"==typeof n&&n.apply(i))},a.timeout),i.setSetting(s,"time",a.time))},pause:function(){if(void 0!==a.time.START&&!e.classList.contains(o+"-paused")&&!e.classList.contains(o+"-reseted")){if(e.classList.add(o+"-paused"),a.time.REMAINING=a.time.END-(new Date).getTime(),clearTimeout(a.time.TIMER),i.setSetting(s,"time",a.time),null!==r){var t=window.getComputedStyle(r),l=t.getPropertyValue("width");r.style.transition="none",r.style.width=l}"function"==typeof n&&setTimeout(function(){n.apply(i)},10)}},resume:function(){void 0!==a.time.REMAINING?(e.classList.remove(o+"-paused"),null!==r&&(r.style.transition="width "+a.time.REMAINING+"ms "+a.progressBarEasing,r.style.width="0%"),a.time.END=(new Date).getTime()+a.time.REMAINING,a.time.TIMER=setTimeout(function(){clearTimeout(a.time.TIMER),e.classList.contains(o+"-closing")||(i.hide(a,e,"timeout"),"function"==typeof n&&n.apply(i))},a.time.REMAINING),i.setSetting(s,"time",a.time)):this.start()},reset:function(){clearTimeout(a.time.TIMER),delete a.time.REMAINING,i.setSetting(s,"time",a.time),e.classList.add(o+"-reseted"),e.classList.remove(o+"-paused"),null!==r&&(r.style.transition="none",r.style.width="100%"),"function"==typeof n&&setTimeout(function(){n.apply(i)},10)}}},e.hide=function(t,e,i){"object"!=typeof e&&(e=document.querySelector(e));var s=this,a=m(this.children[e.getAttribute("data-iziToast-ref")],t||{});a.closedBy=i||null,delete a.time.REMAINING,e.classList.add(o+"-closing"),function(){var t=document.querySelector("."+o+"-overlay");if(null!==t){var e=t.getAttribute("data-iziToast-ref"),n=(e=e.split(",")).indexOf(String(a.ref));-1!==n&&e.splice(n,1),t.setAttribute("data-iziToast-ref",e.join()),0===e.length&&(t.classList.remove("fadeIn"),t.classList.add("fadeOut"),setTimeout(function(){t.remove()},700))}}(),a.transitionIn&&e.classList.remove(a.transitionIn),a.transitionInMobile&&e.classList.remove(a.transitionInMobile),n||window.innerWidth<=l?a.transitionOutMobile&&e.classList.add(a.transitionOutMobile):a.transitionOut&&e.classList.add(a.transitionOut);var r=e.parentNode.offsetHeight;e.parentNode.style.height=r+"px",e.style.pointerEvents="none",(!n||window.innerWidth>l)&&(e.parentNode.style.transitionDelay="0.2s");try{var d=new CustomEvent(o+"-closing",{detail:a,bubbles:!0,cancelable:!0});document.dispatchEvent(d)}catch(t){console.warn(t)}setTimeout(function(){e.parentNode.style.height="0px",e.parentNode.style.overflow="",setTimeout(function(){delete s.children[a.ref],e.parentNode.remove();try{var t=new CustomEvent(o+"-closed",{detail:a,bubbles:!0,cancelable:!0});document.dispatchEvent(t)}catch(t){console.warn(t)}void 0!==a.onClosed&&a.onClosed.apply(null,[a,e,i])},1e3)},200),void 0!==a.onClosing&&a.onClosing.apply(null,[a,e,i])},e.show=function(t){var i=this,s=m(d,t||{});if((s=m(c,s)).time={},null===s.id&&(s.id=function(t){return btoa(encodeURIComponent(t)).replace(/=/g,"")}(s.title+s.message+s.color)),1===s.displayMode||"once"==s.displayMode)try{if(document.querySelectorAll("."+o+"#"+s.id).length>0)return!1}catch(t){console.warn("["+o+"] Could not find an element with this selector: #"+s.id+". Try to set an valid id.")}if(2===s.displayMode||"replace"==s.displayMode)try{p(document.querySelectorAll("."+o+"#"+s.id),function(t,e){i.hide(s,t,"replaced")})}catch(t){console.warn("["+o+"] Could not find an element with this selector: #"+s.id+". Try to set an valid id.")}s.ref=(new Date).getTime()+Math.floor(1e7*Math.random()+1),e.children[s.ref]=s;var u,f={body:document.querySelector("body"),overlay:document.createElement("div"),toast:document.createElement("div"),toastBody:document.createElement("div"),toastTexts:document.createElement("div"),toastCapsule:document.createElement("div"),cover:document.createElement("div"),buttons:document.createElement("div"),inputs:document.createElement("div"),icon:s.iconUrl?document.createElement("img"):document.createElement("i"),wrapper:null};f.toast.setAttribute("data-iziToast-ref",s.ref),f.toast.appendChild(f.toastBody),f.toastCapsule.appendChild(f.toast),function(){if(f.toast.classList.add(o),f.toast.classList.add(o+"-opening"),f.toastCapsule.classList.add(o+"-capsule"),f.toastBody.classList.add(o+"-body"),f.toastTexts.classList.add(o+"-texts"),n||window.innerWidth<=l?s.transitionInMobile&&f.toast.classList.add(s.transitionInMobile):s.transitionIn&&f.toast.classList.add(s.transitionIn),s.class){var t=s.class.split(" ");p(t,function(t,e){f.toast.classList.add(t)})}s.id&&(f.toast.id=s.id),s.rtl&&(f.toast.classList.add(o+"-rtl"),f.toast.setAttribute("dir","rtl")),s.layout>1&&f.toast.classList.add(o+"-layout"+s.layout),s.balloon&&f.toast.classList.add(o+"-balloon"),s.maxWidth&&(isNaN(s.maxWidth)?f.toast.style.maxWidth=s.maxWidth:f.toast.style.maxWidth=s.maxWidth+"px"),""===s.theme&&"light"===s.theme||f.toast.classList.add(o+"-theme-"+s.theme),s.color&&(function(t){return"#"==t.substring(0,1)||"rgb"==t.substring(0,3)||"hsl"==t.substring(0,3)}(s.color)?f.toast.style.background=s.color:f.toast.classList.add(o+"-color-"+s.color)),s.backgroundColor&&(f.toast.style.background=s.backgroundColor,s.balloon&&(f.toast.style.borderColor=s.backgroundColor))}(),s.image&&(f.cover.classList.add(o+"-cover"),f.cover.style.width=s.imageWidth+"px",function(t){try{return btoa(atob(t))==t}catch(t){return!1}}(s.image.replace(/ /g,""))?f.cover.style.backgroundImage="url(data:image/png;base64,"+s.image.replace(/ /g,"")+")":f.cover.style.backgroundImage="url("+s.image+")",s.rtl?f.toastBody.style.marginRight=s.imageWidth+10+"px":f.toastBody.style.marginLeft=s.imageWidth+10+"px",f.toast.appendChild(f.cover)),s.close?(f.buttonClose=document.createElement("button"),f.buttonClose.type="button",f.buttonClose.classList.add(o+"-close"),f.buttonClose.addEventListener("click",function(t){t.target,i.hide(s,f.toast,"button")}),f.toast.appendChild(f.buttonClose)):s.rtl?f.toast.style.paddingLeft="18px":f.toast.style.paddingRight="18px",s.progressBar&&(f.progressBar=document.createElement("div"),f.progressBarDiv=document.createElement("div"),f.progressBar.classList.add(o+"-progressbar"),f.progressBarDiv.style.background=s.progressBarColor,f.progressBar.appendChild(f.progressBarDiv),f.toast.appendChild(f.progressBar)),s.timeout&&(s.pauseOnHover&&!s.resetOnHover&&(f.toast.addEventListener("mouseenter",function(t){i.progress(s,f.toast).pause()}),f.toast.addEventListener("mouseleave",function(t){i.progress(s,f.toast).resume()})),s.resetOnHover&&(f.toast.addEventListener("mouseenter",function(t){i.progress(s,f.toast).reset()}),f.toast.addEventListener("mouseleave",function(t){i.progress(s,f.toast).start()}))),s.iconUrl?(f.icon.setAttribute("class",o+"-icon"),f.icon.setAttribute("src",s.iconUrl)):s.icon&&(f.icon.setAttribute("class",o+"-icon "+s.icon),s.iconText&&f.icon.appendChild(document.createTextNode(s.iconText)),s.iconColor&&(f.icon.style.color=s.iconColor)),(s.icon||s.iconUrl)&&(s.rtl?f.toastBody.style.paddingRight="33px":f.toastBody.style.paddingLeft="33px",f.toastBody.appendChild(f.icon)),s.title.length>0&&(f.strong=document.createElement("strong"),f.strong.classList.add(o+"-title"),f.strong.appendChild(v(s.title)),f.toastTexts.appendChild(f.strong),s.titleColor&&(f.strong.style.color=s.titleColor),s.titleSize&&(isNaN(s.titleSize)?f.strong.style.fontSize=s.titleSize:f.strong.style.fontSize=s.titleSize+"px"),s.titleLineHeight&&(isNaN(s.titleSize)?f.strong.style.lineHeight=s.titleLineHeight:f.strong.style.lineHeight=s.titleLineHeight+"px")),s.message.length>0&&(f.p=document.createElement("p"),f.p.classList.add(o+"-message"),f.p.appendChild(v(s.message)),f.toastTexts.appendChild(f.p),s.messageColor&&(f.p.style.color=s.messageColor),s.messageSize&&(isNaN(s.titleSize)?f.p.style.fontSize=s.messageSize:f.p.style.fontSize=s.messageSize+"px"),s.messageLineHeight&&(isNaN(s.titleSize)?f.p.style.lineHeight=s.messageLineHeight:f.p.style.lineHeight=s.messageLineHeight+"px")),s.title.length>0&&s.message.length>0&&(s.rtl?f.strong.style.marginLeft="10px":2===s.layout||s.rtl||(f.strong.style.marginRight="10px")),f.toastBody.appendChild(f.toastTexts),s.inputs.length>0&&(f.inputs.classList.add(o+"-inputs"),p(s.inputs,function(t,e){f.inputs.appendChild(v(t[0])),(u=f.inputs.childNodes)[e].classList.add(o+"-inputs-child"),t[3]&&setTimeout(function(){u[e].focus()},300),u[e].addEventListener(t[1],function(e){var o=t[2];return o(i,f.toast,this,e)})}),f.toastBody.appendChild(f.inputs)),s.buttons.length>0&&(f.buttons.classList.add(o+"-buttons"),p(s.buttons,function(t,e){f.buttons.appendChild(v(t[0]));var n=f.buttons.childNodes;n[e].classList.add(o+"-buttons-child"),t[2]&&setTimeout(function(){n[e].focus()},300),n[e].addEventListener("click",function(e){e.preventDefault();var o=t[1];return o(i,f.toast,this,e,u)})})),f.toastBody.appendChild(f.buttons),s.message.length>0&&(s.inputs.length>0||s.buttons.length>0)&&(f.p.style.marginBottom="0"),(s.inputs.length>0||s.buttons.length>0)&&(s.rtl?f.toastTexts.style.marginLeft="10px":f.toastTexts.style.marginRight="10px",s.inputs.length>0&&s.buttons.length>0&&(s.rtl?f.inputs.style.marginLeft="8px":f.inputs.style.marginRight="8px")),f.toastCapsule.style.visibility="hidden",setTimeout(function(){var t=f.toast.offsetHeight,e=f.toast.currentStyle||window.getComputedStyle(f.toast),o=e.marginTop;o=o.split("px"),o=parseInt(o[0]);var n=e.marginBottom;n=n.split("px"),n=parseInt(n[0]),f.toastCapsule.style.visibility="",f.toastCapsule.style.height=t+n+o+"px",setTimeout(function(){f.toastCapsule.style.height="auto",s.target&&(f.toastCapsule.style.overflow="visible")},500),s.timeout&&i.progress(s,f.toast).start()},100),function(){var t=s.position;if(s.target)f.wrapper=document.querySelector(s.target),f.wrapper.classList.add(o+"-target"),s.targetFirst?f.wrapper.insertBefore(f.toastCapsule,f.wrapper.firstChild):f.wrapper.appendChild(f.toastCapsule);else{if(-1==r.indexOf(s.position))return void console.warn("["+o+"] Incorrect position.\nIt can be › "+r);t=n||window.innerWidth<=l?"bottomLeft"==s.position||"bottomRight"==s.position||"bottomCenter"==s.position?o+"-wrapper-bottomCenter":"topLeft"==s.position||"topRight"==s.position||"topCenter"==s.position?o+"-wrapper-topCenter":o+"-wrapper-center":o+"-wrapper-"+t,f.wrapper=document.querySelector("."+o+"-wrapper."+t),f.wrapper||(f.wrapper=document.createElement("div"),f.wrapper.classList.add(o+"-wrapper"),f.wrapper.classList.add(t),document.body.appendChild(f.wrapper)),"topLeft"==s.position||"topCenter"==s.position||"topRight"==s.position?f.wrapper.insertBefore(f.toastCapsule,f.wrapper.firstChild):f.wrapper.appendChild(f.toastCapsule)}isNaN(s.zindex)?console.warn("["+o+"] Invalid zIndex."):f.wrapper.style.zIndex=s.zindex}(),s.overlay&&(null!==document.querySelector("."+o+"-overlay.fadeIn")?(f.overlay=document.querySelector("."+o+"-overlay"),f.overlay.setAttribute("data-iziToast-ref",f.overlay.getAttribute("data-iziToast-ref")+","+s.ref),isNaN(s.zindex)||null===s.zindex||(f.overlay.style.zIndex=s.zindex-1)):(f.overlay.classList.add(o+"-overlay"),f.overlay.classList.add("fadeIn"),f.overlay.style.background=s.overlayColor,f.overlay.setAttribute("data-iziToast-ref",s.ref),isNaN(s.zindex)||null===s.zindex||(f.overlay.style.zIndex=s.zindex-1),document.querySelector("body").appendChild(f.overlay)),s.overlayClose?(f.overlay.removeEventListener("click",{}),f.overlay.addEventListener("click",function(t){i.hide(s,f.toast,"overlay")})):f.overlay.removeEventListener("click",{})),function(){if(s.animateInside){f.toast.classList.add(o+"-animateInside");var t=[200,100,300];"bounceInLeft"!=s.transitionIn&&"bounceInRight"!=s.transitionIn||(t=[400,200,400]),s.title.length>0&&setTimeout(function(){f.strong.classList.add("slideIn")},t[0]),s.message.length>0&&setTimeout(function(){f.p.classList.add("slideIn")},t[1]),(s.icon||s.iconUrl)&&setTimeout(function(){f.icon.classList.add("revealIn")},t[2]);var e=150;s.buttons.length>0&&f.buttons&&setTimeout(function(){p(f.buttons.childNodes,function(t,o){setTimeout(function(){t.classList.add("revealIn")},e),e+=150})},s.inputs.length>0?150:0),s.inputs.length>0&&f.inputs&&(e=150,p(f.inputs.childNodes,function(t,o){setTimeout(function(){t.classList.add("revealIn")},e),e+=150}))}}(),s.onOpening.apply(null,[s,f.toast]);try{var y=new CustomEvent(o+"-opening",{detail:s,bubbles:!0,cancelable:!0});document.dispatchEvent(y)}catch(t){console.warn(t)}setTimeout(function(){f.toast.classList.remove(o+"-opening"),f.toast.classList.add(o+"-opened");try{var t=new CustomEvent(o+"-opened",{detail:s,bubbles:!0,cancelable:!0});document.dispatchEvent(t)}catch(t){console.warn(t)}s.onOpened.apply(null,[s,f.toast])},1e3),s.drag&&(a?(f.toast.addEventListener("touchstart",function(t){g.startMoving(this,i,s,t)},!1),f.toast.addEventListener("touchend",function(t){g.stopMoving(this,t)},!1)):(f.toast.addEventListener("mousedown",function(t){t.preventDefault(),g.startMoving(this,i,s,t)},!1),f.toast.addEventListener("mouseup",function(t){t.preventDefault(),g.stopMoving(this,t)},!1))),s.closeOnEscape&&document.addEventListener("keyup",function(t){27==(t=t||window.event).keyCode&&i.hide(s,f.toast,"esc")}),s.closeOnClick&&f.toast.addEventListener("click",function(t){i.hide(s,f.toast,"toast")}),i.toast=f.toast},e}(),void 0===(s="function"==typeof n?n.apply(e,i):n)||(t.exports=s)}).call(this,o(4))},4:function(t,e){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(t){"object"==typeof window&&(o=window)}t.exports=o}});
--------------------------------------------------------------------------------
/flask_redisboard/templates/redisboard/command.html:
--------------------------------------------------------------------------------
1 | {% extends "layout.html" %}
2 | {% block content %}
3 |
24 |
25 | {% endblock %}
26 |
27 | {% block js %}
28 |
29 | {% endblock %}
--------------------------------------------------------------------------------
/flask_redisboard/templates/redisboard/config.html:
--------------------------------------------------------------------------------
1 | {% import 'macros.html' as macros %}
2 | {% extends "layout.html" %}
3 | {% block content %}
4 |
5 |
6 |
7 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | {% for config_part, config_name in config %}
23 | {{macros.render_config_item(config_part, config_name)}}
24 | {% endfor %}
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | {% endblock %}
34 |
35 | {% block js %}
36 |
37 | {% endblock %}
--------------------------------------------------------------------------------
/flask_redisboard/templates/redisboard/dashboard.html:
--------------------------------------------------------------------------------
1 | {% extends "layout.html" %}
2 | {% block content %}
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
15 |
16 | {{total_keys}}
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
30 |
31 | {{used_memory}}
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
45 |
46 | {{connected_clients}}
47 |
48 |
49 |
50 |
51 |
52 |
74 |
86 |
87 |
88 |
89 | {% endblock %}
90 |
91 | {% block js %}
92 |
93 | {% endblock %}
--------------------------------------------------------------------------------
/flask_redisboard/templates/redisboard/database.html:
--------------------------------------------------------------------------------
1 | {% import 'macros.html' as macros %}
2 | {% extends "layout.html" %}
3 | {% block content %}
4 |